<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
  </head>
  
  <body>
  	<center>
  		<table>
  			<c:forEach var="item" items="${list}">
				<tr>
					<td>
						${item.department}
					</td>
				    <td>&nbsp;${item.groupId}
				    </td>
				</tr>
			</c:forEach>
  		</table>
  	</center>
  </body>
</html>
